export default {
  baseURL: process.env.NODE_ENV === 'development' ? process.env.VUE_APP_BASE_URL : process.env.VUE_APP_BASE_API,
  easyddUrl: process.env.NODE_ENV === 'development' ? process.env.VUE_APP_BASE_EASY_DD_URL : process.env.VUE_APP_BASE_EASY_DD_URL
}

export const ACCEPT_CONFIG = {
  image: ['.png', '.jpg', '.jpeg', '.gif', '.bmp', 'mov'],
  video: ['.mp4', '.rmvb', '.mkv', '.wmv', '.flv'],
  document: ['.doc', '.docx', '.xls', '.xlsx', '.ppt', '.pptx', '.pdf', '.ofd', '.txt', '.tif', '.tiff', '.wps', '.json'],
  other: ['.zip', '.rar', '.7z', '.html'],
  getAll() {
      return [...this.image, ...this.video, ...this.document, ...this.other]
  }
}

